import {mySql} from './main.js';
import Sequelize from 'sequelize';

export var Users = mySql.define('user', {
	id:{
		type:Sequelize.INTEGER,
		autoIncrement: 	true,
		primaryKey: 	true,
		unique: 		true
	},
	nick:{
		type:Sequelize.STRING,
		unique:true
	},
	password:{
		type:Sequelize.STRING
	}
});